/* MotorDriver.h
    Library for controlling simple DC Motors    
      
    Revision History:
      4/07/12  SCL  Created and written
*/

#ifndef Morse_h
#define Morse_h

#include "WProgram.h"

const int DEFAULT_MOTOR_PIN_1 = 5;
const int DEFAULT_MOTOR_PIN_2 = 6;

class MotorDriver {
public:
	MotorDriver();
	MotorDriver(int motorPin1, int motorPin2);
  
	void rotateForward(int motorSpeed);
	void rotateReverse(int motorSpeed);
	void rotateForwardFull();
	void rotateReverseFull();
	void stopMotor();

protected:
	void init();

private:
	int mMotorPin1;
	int mMotorPin2;
};

#endif // Morse_h

